public class StartUAEvent extends EventBase {
	public Nurse nurse;
	

	public StartUAEvent(PatientBase patient) {
		super(patient);
		duration = 35;
		this.nurse = patient.getNurse();
	}
	
	public void execute() {
		super.execute();
		patient.available = false;
		nurse.available = false;
		EventBase event =  new EndUAEvent(patient, nurse);
		event.startTime = Simulator.getCurrentTime() + duration;
		Simulator.addEvent(event);
	}
}